package com.beilang.hotline.knowledge.manager;

import com.beilang.base.pagination.PaginationHelper;
import com.beilang.hotline.knowledge.model.KnowledgeModel;
import com.beilang.hotline.knowledge.to.SearchTO;

import java.util.List;

public interface KnowledgeMgr {
	public KnowledgeModel createKnowledge(KnowledgeModel knowledgeModel) ;

	public KnowledgeModel saveKnowledge(KnowledgeModel knowledgeModel) ;

	public void deleteKnowledge(Long knowledgeId);

	public KnowledgeModel getKnowledge(Long knowledgeId);

	public PaginationHelper getKnowledgeList(PaginationHelper helper,SearchTO searchTO);

    public void deleteAllSysKnowledges(Long sysId);

    public byte[] genereateKnowlegesReport(SearchTO searchTO);
}
